package com.rnkrsoft.suyan.config.server.services.environment.domains;


import com.rnkrsoft.suyan.config.internal.enums.EnvironmentTypeEnum;
import lombok.*;

import javax.doc.annotation.ApidocElement;
import javax.doc.data.PaginationRequest;

/**
 * Created by woate on 2018/6/18.
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class QueryEnvironmentRequest extends PaginationRequest {
    @ApidocElement(value = "项目", required = false)
    String projectId;
    @ApidocElement(value = "版本", maxLen = 36, required = false)
    String version;
    @ApidocElement(value = "环境类型", maxLen = 36, required = false, enumClass = EnvironmentTypeEnum.class)
    Integer environmentType;
    @ApidocElement(value = "环境名称", maxLen = 36, required = false)
    String environmentName;
    @ApidocElement(value = "环境描述", maxLen = 36, required = false)
    String environmentDesc;
}
